package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 活动中心
 * @author Rongjie
 */
@Data
@TableName("mall_activity")
@KeySequence(value = "mall_activity_SEQ")
@ApiModel(value = "MallActivity对象")
public class MallActivity implements Serializable{

       private String appKey;

       @TableId(value = "activity_key", type = IdType.UUID)
       @ApiModelProperty(value = "活动KEY")
       private String activityKey;

       @ApiModelProperty(value = "活动名称")
       private String activityName;

       @ApiModelProperty(value = "活动协议")
       private String activityAgreement;

       @ApiModelProperty(value = "奖励信息")
       private String rewardDescrition;

       @ApiModelProperty(value = "描述")
       private String description;

       @ApiModelProperty(value = "状态")
       private String status;

       @ApiModelProperty(value = "开始时间")
       private Date startTime;

       @ApiModelProperty(value = "结束时间")
       private Date endTime;

}
